package com.example.demo.domain.base;

import java.util.List;

/**
 * TreeNode
 *
 * @author haochen78
 * @date 2025/10/7 21:44
 **/
public interface TreeNode<T> {
    Long getId();

    Long getParentId();

    void setChildren(List<T> children);

    List<T> getChildren();
}
